<template>
  <div class="banner-container">
    <div class="banner-image">
      <div class="banner-text">
        <p class="title">{{ titleText }}</p>
        <p class="subtitle">{{ subtitleText }}</p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'IndustryBanner',
  props: {
    titleText: {
      type: String,
      default: '' // Default value if not provided
    },
    subtitleText: {
      type: String,
      default: '' // Default value if not provided
    }
  }
}
</script>

<style scoped>
.banner-container {
  width: 100%;
}

.banner-image {
  height: 200px;
  width: 100%;
  background-image: url('@/assets/productEmpowerment/u1540_state0.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

/* Fallback background if prop is used */

.banner-text {
  text-align: left;
  color: white;
  padding: 10px;
  margin-left: 7%;
  width: 80%;
}

.title {
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 10px;
  color: #333;
}

.subtitle {
  font-size: 24px;
  font-weight: 400;
  color: #7F7F7F;
}
</style>